from django.urls import path,include,re_path
from . import views

app_name = 'verification'

urlpatterns = [
    path('image_codes/<uuid:image_code_id>/',views.ImageCode.as_view(),name='image_code'),
    re_path('usernames/(?P<username>\w{2,10})/',views.CheckUsernameView.as_view(),name='cn_code'),
    re_path('mobiles/(?P<mobile>1[3-9]\d{9})/',views.CheckMobileView.as_view(),name='mb_code'),
    path('smsmobiles/',views.CheckSmsMobileView.as_view(),name='mp_code')
    ]